package com.gancp.common.util;

import java.util.UUID;

/**
 * Created by GCP on 2018/7/18.
 */
public class UUIDUtil {

    private UUIDUtil() {
    }

    public static String generate() {
        return UUID.randomUUID().toString();
    }

    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            System.out.println( generate().length() );
        }
    }
}
